﻿
@model ContactManagement.Models.ForgottenPasswordModel

@{
    ViewBag.Title =GlobalResources.PageTitles.ForgottenPasswordRESX;
}

<div class="span12">
	<h2>@GlobalResources.PageTitles.ForgottenPasswordRESX</h2>
	<hr/>
	<div class="well">@GlobalResources.AccountViews.ForgottenPasswordRESX</div>
</div>
<div class="span12">
	@using (Html.BeginForm(EActionAccount.ForgottenPassword.ToString(), EControllers.Account.ToString(), FormMethod.Post, new { @class = "form-horizontal" })) {
		<fieldset>
		@Html.MyValidationSummary()

				<div class="control-group">
					@Html.LabelFor(model => model.UserName, new { @class = "control-label" })
	      
			<div class="controls">
					@Html.EditorFor(model => model.UserName)
					@Html.ValidationMessageFor(model => model.UserName)
			</div>
		 </div>
				<div class="form-actions">
				<input class="btn btn-primary" type="submit" value="@GlobalResources.Navigation.GetNewPasswordRESX" />
			</div>
		</fieldset>
	}
</div>

<div class="span12">
	<div class="well">
		@Html.ActionLink(GlobalResources.Navigation.BackToLoginRESX, EActionAccount.Login.ToString(), EControllers.Account.ToString(), null, new {@class="btn btn-small", data_icon="icon-arrow-left"})
	</div>
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
